﻿using System.Collections.Generic;

namespace Utils.EasyUI.Trees
{
    /// <summary>
    ///     树节点
    /// </summary>
    public interface ITreeNode
    {
        /// <summary>
        ///     标识
        /// </summary>
        string Id { get; set; }

        /// <summary>
        ///     父标识
        /// </summary>
        string ParentId { get; set; }

        /// <summary>
        ///     级数
        /// </summary>
        int? Level { get; set; }

        /// <summary>
        ///     状态
        /// </summary>
        string state { get; set; }

        /// <summary>
        ///     子节点集合
        /// </summary>
        List<ITreeNode> children { get; set; }
    }
}